﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

namespace VirtualTournaments.Frontend
{
    [Themeable(true)]
    public partial class MainMenu : System.Web.UI.UserControl
    {
        public EventHandler TournamentSubscriptionButtonClicked;
        public EventHandler TournamentManagerButtonClicked;
        public EventHandler GamblingManagerButtonClicked;
        public EventHandler StatisticsButtonClicked;

        protected void Page_Load(object sender, EventArgs e)
        {
            
        }

        protected void TournamentSubscriptionButton_OnClick(object sender, EventArgs e) 
        {
            TournamentSubscriptionButtonClicked(this, new EventArgs());
        }
        protected void TournamentManagerButton_OnClick(object sender, EventArgs e)
        {
            TournamentManagerButtonClicked(this, new EventArgs());
        }
        protected void GamblingManagerButton_OnClick(object sender, EventArgs e) 
        {
            GamblingManagerButtonClicked(this, new EventArgs());
        }
        protected void StatisticsButton_OnClick(object sender, EventArgs e) 
        {
            StatisticsButtonClicked(this, new EventArgs());
        }
    }
}